import javax.swing.SpinnerNumberModel;

public class jo53 {
    public static void main(String[] args) {
        int x=15;
        int res=0;
        while(x>0){
            x-=(x&-x);
            res++;
        }
        System.out.println(res);
    }
    public int missingNumber(int[] nums) {
        int n=nums.length;
        for(int i=0;i<n;i++){
            if(i!=nums[i]){
                return i;
            }
        }
        return -1;
    }
}

